<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
	<div class="wrapper wrapper-content ">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-content">

						<form class="form-horizontal m-t" id="signupForm">
							<input id="id" name="id" th:value="${id}"
								type="hidden">
							<!--管理员  -->
							<div th:if="${agent eq 11}">
								<div class="form-group" align="center">
									<label class="radio-inline"> <input type="radio"
										name="agent" id="agent" value="1" /> 一级代理
									</label> <label class="radio-inline"> <input type="radio"
										name="agent" id="agent" value="2" /> 二级代理
									</label> <label class="radio-inline"> <input type="radio"
										name="agent" id="agent" value="3" /> 三级代理
									</label>
								</div>
							</div>
							  <!--二级管理员 -->
							 <div th:if="${agent eq 22}">
							 	<div class="form-group" align="center"> 
								        <label class="radio-inline"><input type="radio"
											name="agent" id="agent"  value="1" /> 一级代理
										</label>
										 <label class="radio-inline"> <input type="radio"
											name="agent" id="agent" value="2" /> 二级代理
										</label>
										 <label class="radio-inline"> <input type="radio"
											name="agent" id="agent" value="3" /> 三级代理
										</label>
								</div>
							</div>
							<!-- 一级代理 -->
							<div th:if="${agent eq 1}">
								<div class="form-group" align="center">
									<label class="radio-inline"> <input type="radio"
										name="agent" id="agent" value="2" /> 二级代理
									</label> <label class="radio-inline"> <input type="radio"
										name="agent" id="agent" value="3" /> 三级代理
									</label>
								</div>
							</div>
							<!-- 二级代理 -->
							<div th:if="${agent eq 2}">
								<div class="form-group" align="center">
									<label class="radio-inline"> <input type="radio"
										name="agent" id="agent" value="3" /> 三级代理
									</label>
								</div>
							</div>

							<!-- 三级代理 -->
							<div th:if="${agent eq 3}">
								<div class="form-group" align="center">
									<label> 三级代理设置预存用户,需联系上级处理 </label>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">手机号码：</label>
								<div class="col-sm-8">
									<input id="phone" name="phone" class="form-control"
										type="text" placeholder="请输入需要充值的手机号码"">
								</div>
							</div>
							<div class="form-group">

								<label class="col-sm-3 control-label">速用币充值：</label>
								<div class="col-sm-8">
									<input id="amount" name="amount" class="form-control"
										type="number" size="16">
								</div>
							</div>


							<div class="form-group">
								<div class="col-sm-8 col-sm-offset-3">
									<button type="submit" class="btn btn-primary">立即充值</button>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
		</div>

	</div>
	<div th:include="include::footer"></div>
	<script type="text/javascript" src="/js/appjs/sys/user/setagentno.js"></script>
</body>
</html>
